package com.heihei.code;

import com.heihei.authority.core.validate.code.ValidateCodeGenerator;
import com.heihei.authority.core.validate.code.image.ImageCode;
import org.springframework.web.context.request.ServletWebRequest;

/**
 *  测试自定义图形验证码生成逻辑
 *
 * @version 1.0
 * @since JDK1.8
 * @author duanhengfei
 * @date 2021年04月11日 11:02:08
 */
//@Component("imageCodeGenerator")
public class MyDemoValidateCodeGenetor implements ValidateCodeGenerator {
    @Override
    public ImageCode generateCode(ServletWebRequest request) {
        System.out.println("自定义图形验证码生成逻辑");
        return null;
    }
}
